package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.core.domain.entity.SysProject;
import com.ruoyi.system.mapper.SysProjectMapper;
import com.ruoyi.system.service.ISysAdminProjectService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wux
 * @date 2023/5/12 15:21
 */
@Service
public class SysAdminProjectServiceImpl extends ServiceImpl<SysProjectMapper, SysProject> implements ISysAdminProjectService {
    @Override
    public List<SysProject> getProjectByUser(Long userId) {
        return this.baseMapper.getProjectByUser(userId);
    }
}
